package com.kehutong.crm.message.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;
import com.kehutong.crm.message.enums.MessageNotifyType;
@Deprecated
@Table(value="t_message_notify_employee", comment="员工消息通知提醒", multi=true, idType = IDType.TIMESTAMP)
public class MessageNotifyEmployee extends Entity {

    private static final long serialVersionUID = -7346988877794462186L;

    protected MessageNotifyEmployee(String id) {
        super(id);
    }

    @Column(comment = "用户ID")
    private String uuid;

    @Column(comment = "发起人用户ID")
    private String createUserNo;

    @Column(comment = "发起人用户名称")
    private String createUserName;

    @Column(comment = "类型")
    private MessageNotifyType type;

    @Column(comment = "标题")
    private String title;

    @Column(comment = "是否阅读")
    private boolean read;

    @Column(comment = "消息ID")
    private String msgId;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCreateUserNo() {
        return createUserNo;
    }

    public void setCreateUserNo(String createUserNo) {
        this.createUserNo = createUserNo;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public MessageNotifyType getType() {
        return type;
    }

    public void setType(MessageNotifyType type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isRead() {
        return read;
    }

    public void setRead(boolean read) {
        this.read = read;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }
}
